* {
    margin: 0;
    padding: 0;
}

body {
    padding: 20px;
}

#minefield {
    display: block;
    border: 10px solid #555;
    border-top: 11px solid #555;
    border-left: 11px solid #555;
    margin: 0px auto;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
}

#minefield .cell {
    float: left;
    width: 19px;
    height: 19px;
    cursor: pointer;
    background: #BBB;
    color: #FFF;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    font-family: sans-serif;
    border-bottom: 1px solid #555;
    border-right: 1px solid #555;
}

#minefield .cell:hover {
    background: #CCC;
}

#minefield .clicked {
    background: #FFF;
    color: #070;
}

#minefield .clicked:hover {
    background: #FFF;
}

#minefield .flag:after {
    content: '!';
}

#minefield .flag {
    background: #C70;
}

#minefield .flag:hover {

}

#minefield .clear {
    clear: both;
}

#minefield .dead {
    background: #E00;
}

#minefield .dead:hover {
    background: #F00;
}

#minefield .bomb:after {
    content: '*';
    color: #700;
}
